package com.mybatis.mapper;

import com.mybatis.pojo.Student;

import java.util.List;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    Student selectByPrimaryKey2(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    List<Student> selectByClazzId(Integer clazzId);

    void insertBatch(List<Student> students);

    void updateBatch(List<Student> students);

     int deleteStudentByIds(List<Integer> ids);
}